package com.jzo2o.customer.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.jzo2o.customer.model.domain.AgencyCertificationAudit;
import com.jzo2o.customer.model.dto.request.CertificationAuditReqDTO;

/**
 * @author wl
 * @version 1.0
 * @since 2025-09-17 16:30
 */
public interface IAgencyCertificationAuditService extends IService<AgencyCertificationAudit> {

    /**
     * 插入机构认证审核信息
     *
     * @param agencyCertificationAudit 机构认证审核信息
     */
    void insertAudit(AgencyCertificationAudit agencyCertificationAudit);


    /**
     * 获取机构认证审核拒绝原因
     *
     * @param userId 用户id
     * @return 机构认证审核拒绝原因
     */
    String rejectReason(Long userId);



    /**
     * 机构认证审核
     *
     * @param id                       机构认证审核id
     * @param certificationAuditReqDTO 机构认证审核信息
     */
    void AduitAgencyCertificationAudit(Long id, CertificationAuditReqDTO certificationAuditReqDTO);
}
